package com.bytecub.common.domain.dto.request.device;

import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import lombok.Data;

/**
 * * ByteCub.cn. * Copyright (c) 2020-2020 All Rights Reserved. * * @author bytecub@163.com songbin
 * * @version Id: DeviceRtItemReqDto.java, v 0.1 2020-12-27 Exp $$
 */
@Data
public class DeviceRtItemReqDto {
    String productCode;
    String deviceCode;
    String funcType;

    @JsonFormat(
            shape = JsonFormat.Shape.STRING,
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8")
    Date startDate;

    @JsonFormat(
            shape = JsonFormat.Shape.STRING,
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8")
    Date endDate;

    String identifier;
    String dataType;
}
